<?php

require_once('inc.config.php');
$sid = $_GET["sid"];

if(!isset($sid)){
	header("Location:index.php");
	exit;
}

$uid = $myHouse->getPublisherIdByHid($sid, 0);

if(__login__==0||__user_prop__!=1||$uid!=__user_id__){
	header("Location:index.php");
	exit;
}


$useTemplate   = 'user_admin_shdetail.html';

$page = new QuickSkin ($useTemplate);

template_ini($page);

$sinfo = $myHouse->getShouseInfo($sid);

$page->assign($sinfo);

require_once("user_admin_left.php");

$page->output();


ob_end_flush();

?>
